package com.silverbox.waimai.mapper;

import com.silverbox.waimai.entity.TakeOutBilling;
import org.apache.ibatis.annotations.Param;

public interface TakeOutBillingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TakeOutBilling record);

    int insertSelective(TakeOutBilling record);

    TakeOutBilling selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TakeOutBilling record);

    int updateByPrimaryKey(TakeOutBilling record);

    //获取用户计费方式
    TakeOutBilling findTakeOutBillingList(@Param("storeId") Integer storeId,@Param("configId") Integer configId);
}